home *** CD-ROM | disk | FTP | other *** search
/ Magnum One / Magnum One (Mid-American Digital) (Disc Manufacturing).iso / d1 / masdir43.arc / DEMO.BAT < prev    next >
Encoding:
DOS Batch File  |  1989-06-19  |  2.0 KB  |  52 lines

  1. ECHO OFF
  2. sdl_get be %A%
  3. Set A=%GET%
  4. DEMOSCR
  5. pause
  6. sdl_get be %A%
  7. ECHO  * * *
  8. ECHO This is the SDL DEMO (Copyright (c) 1987,88 Bob Stephan)
  9. ECHO This demo assumes that the program file SDL.COM is
  10. ECHO available in this directory on this disk, or in one
  11. ECHO of the directories on your current PATH.
  12. ECHO * * *
  13. ECHO It also assumes that SDL.COM is in its default
  14. ECHO configuration as provided on the original distribution
  15. ECHO disk.  If these conditions are not met, it will cause no
  16. ECHO harm, but the displays probably will not correspond with
  17. ECHO the descriptions, and you may see harmless error messages.
  18. ECHO * * *
  19. ECHO When asked a question a simple Return (Enter) will be taken as
  20. ECHO a Y or Yes response.  Pressing Esc will terminate the demo.
  21. ECHO To exit at any point, hold down the Ctrl key and press C
  22. ECHO (Ctrl-C), then answer Y to exit.
  23. ECHO * * *
  24. ECHO If you have a printer on line and loaded with paper,
  25. ECHO we can include actual printing demonstrations.  The printing
  26. ECHO demos will be done on the paper in your printer, and will
  27. ECHO change your Top of Form (TOF) setting, so you will have to
  28. ECHO realign your paper when finished.
  29. ECHO * * *
  30. sdl_get N "Do you want to include printing demos (Y/n)? "
  31. if errorlevel 126 goto end
  32. IF ERRORLEVEL 89 DEMOSDL YES
  33. sdl_get b
  34. ECHO * * *
  35. ECHO You have requested that we not use the printer.  Ok,
  36. ECHO but you will be missing a valuable feature of SDL.
  37. ECHO Please run the printing demo at some time when it
  38. ECHO can use the printer.
  39. ECHO * * *
  40. ECHO Please note!  During the demo you will be given the
  41. ECHO opportunity to press keys to interact with SDL.
  42. ECHO The W, R, I, and T keys (in either upper or lower case)
  43. ECHO are the keys that tell SDL to print a directory listing
  44. ECHO if you bring up the print menu by pressing P.
  45. ECHO If you do NOT want to print, please do not press any of
  46. ECHO these keys.  The demo will not try to print if you don't.
  47. ECHO * * *
  48. pause
  49. DEMOSDL NO
  50. :END
  51. menu
  52.